package com.xiaobai.netease_news.model;

import org.json.JSONObject;

/**
 * Created by Android Studio
 * Project: NeteaseNews
 * Author: Jack
 * Email: jackfangqi1314@gmail.com/jackfangqi@163.com
 * Date: 2015/6/5
 */
public class Editor {
    String editorImg;
    String editorName;

    public String getEditorImg() {
        return editorImg;
    }

    public String getEditorName() {
        return editorName;
    }

    public void parseJson(JSONObject jsonObject) {
        if (jsonObject != null) {
            editorImg = jsonObject.optString("editorImg");
            editorName = jsonObject.optString("editorName");
        }
    }
}
